<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    
    <title>My JSP 'flashReport.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script type="text/javascript" src="<%=path%>/js/swfobject.js"></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <table width="50%" height="50%">
    	<tr><td id="chartplace">
    	
    	</td></tr>
    </table>
  </body>
</html>

<script type="text/javascript">
		// <![CDATA[
		
		var so = new SWFObject("<%=path%>/flash/Chart.swf", null, "100%", "100%", "9", "#FF6600");
		//<param name="FlashVars" value="dataurl=http://127.0.0.1:8899/dx/test/lineChar.xml">
		
		//so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
		so.addVariable("dataurl", "http://localhost:8899/sg_market/flash/lineChar.xml");
		so.addParam("allowFullScreen", "true");
		so.write("chartplace");
		
		// ]]>
	</script>
